{include file="$usertemplate/header.temp.html"}
{include file="$usertemplate/left.temp.html" title=left}
{assign var=formId value='addItem'}
{assign var=rightPanel value='hidden'}
<div id="contextual" class="{$rightPanel}">
<div class="levBtn">
<p><a href="#"><img src="templates/{$usertemplate}/images/btn_arrow_02.gif" alt="" width="18" height="19" /></a></p>
</div>

</div>
<div id="content">
<div class="highlight">
<h2><a href="">{$amessages.control_panel}</a> &raquo; Thêm hình ảnh</h2>
<ul id="tablist">
<li class="current"><a href="{$script}?op=manage&amp;part=ads&amp;act=add&amp;pId={$pId}" title="Thêm hình ảnh">Thêm banner/Video</a> </li>
<li><a href="{$script}?op=manage&part=ads&act=list" title="{$amessages.list_ads}">Danh sách Banner/Video</a> </li>
<li><a href="{$script}?op=manage&part=ads&act=list&plus=cleanTrash" title="{$amessages.clean_trash}">{$amessages.clean_trash}</a> </li>
</ul>
{if $infoText}
<div class="{$infoClass}">
<h4>Result:</h4>
<p>{$infoText}</p>
</div>
{/if}
<div class="formType">
<form action="{$script}" method="post" id="{$formId}" name="{$formId}" enctype="multipart/form-data">
<fieldset>
<p>
<label for="status">{$amessages.status} *</label>
<span>{$amessages.status_help}</span>
<select name="status">
{$listStatus}
</select>
</p>
<p>
<label for="gId">Chọn nhóm hình ảnh *</label>
<span>Chọn 1 nhóm hình ảnh mà bạn muốn upload hình lên.</span>
<select name="gId">
<option value="-1">All</option>
{$listGroupads}
</select>

</p>
<p>
<label for="vn_name">{$amessages.logo_url} *</label>
<span>Đưa hình ảnh mà bạn chọn lên website</span>
<input type="file" name="logo_url" value="{$logo_url}" />
</p>
<!--<p>
<label for="vn_name">Link video</label>
<span>Mục này chỉ nhập khi bạn chọn nhóm là video. Bạn nhập link dưới dạng như <b>http://www.youtube.com/embed/5LD7NQSie6Y</b></span>
<input type="text" name="position" value="{$position}" />
</p>
--><p>
<label for="en_name">{$amessages.url} </label>
<span>{$amessages.url_help}</span>
<input type="text" name="url" value="{$url}" />
</p>

<!--
<p class="radioType">
<input type="radio" name="radio3" id="radio3" />
<label for="radio3">radio 3</label>
<input type="radio" name="radio3" id="radio4" />
<label for="radio4">radio 4</label>
</p>
<p class="radioType">
<input type="checkbox" name="checkbox2" id="checkbox2" />
<label for="checkbox2">checkbox 2</label>
</p>
-->
<p class="btnType">
<input type="hidden" name="op" value="{$op}" />
<input type="hidden" name="part" value="{$part}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="searchTerms" value="{$searchTerms}"/>
<input type="hidden" name="searchStatus" value="{$searchStatus}"/>
<span><input type="reset" value="{$amessages.reset}" title="{$amessages.reset}" name="btnReset" /></span>
<span><input type="submit" value="{$amessages.save}" title="{$amessages.save}" name="btnSubmit" /></span>
</p>
</fieldset>
</form>
</div>
</div>
</div>
</div>
<div class="push"></div>
</div>
{include file="$usertemplate/footer.temp.html" title=footer}
